package com.example.demo.mytest;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author jie
 * @date 2019/7/21 -17:41
 */
@Configuration
public class StoreConfig {

    @Bean
    public StoreService storeService(){
        StoreService storeService = new StoreService();
        storeService.setSayHi(new Qiniu());
        return storeService;
    }
}
